package com.ruoyi.design.viewer;

import java.util.EventListener;

@FunctionalInterface
public interface SpringApplicationListener<E extends SpringApplicationEvent> extends EventListener {

    /**
     * Handle an application event.
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);
}